<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" errorPage="error.jsp"%>
<!DOCTYPE>
<html>
<head>
<title>注册界面</title>
<script  charset="UTF-8" type="text/javascript" src="${pageContext.request.contextPath}/JS/register.js"></script>
</head>
<body>
<div align="center">
<form  action="${pageContext.request.contextPath }/RegisterServlet" method="post" onsubmit="return checkSubmit(this)">
	<table>
		<tr>
			<td>用户名</td>
			<td><input type="text"  id="u1" name="username" />
			</td>
		</tr>
		
		<tr>
			<td>密码</td>
			<td><input type="password" id="p1"name="password" />
			</td>
		</tr>
		
		<tr>
			<td>昵称</td>
			<td><input type="text" id="n1"name="nickname" />
			</td>
		</tr>
		
		<tr>
			<td>生日</td>
			<td><input type="date" value="2016-01-01" name="birthday" />
			</td>
		</tr>
	
	<tr><td><input type="hidden" name="status" value="0"/></td></tr> <!-- 默认是读者注册 -->
	<tr>
			<td><input type="reset" value="重置"/></td>
			<td><input type="submit" value="提交" /></td>
		</tr>
		</table>
	</form>
	<a href="${pageContext.request.contextPath }/index.jsp">返回首页</a>
	</div>
</body>
</html>
